package com.lottery.entity;

import java.io.Serializable;

//自主客服记录表
public class AutomaticCustomer implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	// id
	private int questionId;

	// 问题
	private String question;

	// 答案
	private String answer;
	
	private int qtype;
	
	public AutomaticCustomer() {

	}
	
	public int getQtype() {
		return qtype;
	}

	public void setQtype(int qtype) {
		this.qtype = qtype;
	}


	public AutomaticCustomer(int questionId, String question, String answer) {
		super();
		this.questionId = questionId;
		this.question = question;
		this.answer = answer;

	}

	public int getQuestionId() {
		return questionId;
	}

	public void setQuestionId(int questionId) {
		this.questionId = questionId;
	}

	public String getQuestion() {
		return question;
	}

	public void setQuestion(String question) {
		this.question = question;
	}

	public String getAnswer() {
		return answer;
	}

	public void setAnswer(String answer) {
		this.answer = answer;
	}

	@Override
	public String toString() {
		return "AutomaticCustomer [questionId=" + questionId + ", question=" + question + ", answer=" + answer + "]";
	}

}
